home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
apps
/
683
/
frg_dc
/
frg_dc.doc
< prev
next >
Wrap
Text File
|
1993-02-28
|
3KB
|
57 lines
Bill Devonshire 02/93
Shortwave Enterprises
Gen. Del. Box 5
ORTON, Ontario
Canada, L0N 1N0
The best way to learn a new language is to jump in with both feet,
so my feet have jumped but, the rest of me is still clinging to
the basics. I have grabbed a couple of Steve's C programs and started
to convert them to the ST world. Number one is the Fractal Landscape
Generator, this one. It actually does not generate landscapes (?)
but instead loads in special *.fr files, perturbs the vertices and
then spits out a *.3D2 file. Of course, if you give it a landscape to work
with then it will spit out a very interesting rendition of the original.
I really have learned quite a bit from this exercise and recommend it to
anyone desiring to get into a new programming language like 'C'. This next
upgrade includes screen clipping to eliminate those nasty bombs from wrecking
your creations.
This does create some really nice effects, like warping a sphere into
a deflated soccer ball, or making a pyramid look like it was melted
with a torch. With a bit of tweening you can make an animation that
displays the transformation graphically!
This is a TTP program, and requires the entry of some parameters to make
the whole thing work. Run the FRG3.TTP program and select OK without
entering anything on the command line, to get a readout of the parameters
and command structure. FRG will accept parameters on the command line or
through the actual *.fr file. The command line will overrule the file values.
There are four *.fr files included for your fun and relaxation. Reading
the contents will show:
- comment lines (optional)
- parameter line (optional)
- triangle vertices (three groups of X,Y,Z coordinates) (not optional)
You can create your own .fr files with any ascii word processor.
My next version of FRG will be GEM'd with display and allow you to
turn an existing *.3D2 file into an *.fr file for transformation.
I may put out the GEM'd version first and then the last version will contain
the ability to convert 3D2 files for fractal manipulation. Next on the list
is a 3D2 to POV file transfer utility. POV is a great raytracer and with the
TT and Falcon or an ST on STeroids, your can convert your 3D2's for rendering
in glorious 24bit targa format. (Don't forget that PhotoChrome allows you to
view targa's even on a lowly ST!!)
Any command line parameters entered will override the file parameters.
Command -d (for display) IS functional in this version!
Have a math coprocessor? If you would like a version of this that
supports your number crunching beast, let me know and I'll make
one for you!!
Whatever! Play with it and have some fun. Try creating your own fr
files for perturbing. This is freeware! Enjoy!
BTW - any problems? contact me on CIS: 73707,1656
Genie: B.DEVONSHIRE
Note: Still in the works is CyberPal version 0.8!
and his buddy Template Pal!